All Questions
6 questions
-1votes
3answers
215views
Extracting SMS data from a XML
I have a large xml file of my SMS messages. I want to put them into an easily accessible csv format. I've been trying to extract the 'address', 'messageBody' and 'messageTime' sections specifically ...
0votes
1answer
51views
Linux remove a occurrence of sentence from a file and add add start and end
I have a script that curl a command to sms gateway to send sms and get xml as response. Each response are appended to a single file for future xsltproc process for creating csv. A single response is ...
2votes
4answers
2kviews
Modify an SVG file based on information in a CSV file
I've got a SVG file of the map of the US and I want to add colors to it. Because it would take me to much time, I thought I could use a bash script. I have also another file containing the states and ...
3votes
5answers
4kviews
Efficient data extraction from multiple files to a single CSV file
I have a large collection of XML files with the same exact structure: $ cat file_<ID>.xml ... ... ... <double>1.2342</double> <double>2.3456</double> ...
3votes
4answers
20kviews
convert xml to csv
i need to convert a xml to csv using script. I found a solution with xmlstarlet but it is not available so i am returning to point 0. Here is my xml. <root> <record> <...
2votes
1answer
8kviews
Confused about how to convert XML to CSV using xmlstarlet on OS X?
I asked a question earlier and it was closed as being a duplicate: How to parse XML to CSV with a shell script?. The answer in the duplicate that was linked suggested using a tool called XMLStarlet, ...